package org.neuedu.ssmp.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.neuedu.ssmp.crm.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;
import org.neuedu.ssmp.crm.entity.vo.ResponseEntity;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
public interface ICustomerService extends IService<Customer> {

    IPage<Customer> conditionPage(int pageIndex, int pageSize, String name, String managerName);

    List<SysUser> managerList();

    ResponseEntity editCustomerInfo(Customer customer);

    ResponseEntity inserts(String name,String code,String username,Integer id);
}
